home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group94a.txt / 000132_icon-group-sender _Sat May 21 14:19:18 1994.msg < prev    next >
Internet Message Format  |  1994-08-19  |  4KB

  1. Received: by cheltenham.cs.arizona.edu; Sat, 21 May 1994 22:24:43 MST
  2. From: Richard Hernandez <rick@sparc.sandiegoca.ncr.com>
  3. Message-Id: <9405212119.AA27468@sv509.SanDiegoCA.ncr.com>
  4. Subject: Re: How do I place a system editor in an icon region?
  5. To: icon-group@cs.arizona.edu
  6. Date: Sat, 21 May 1994 14:19:18 -0700 (PDT)
  7. In-Reply-To: <01HCLCIE6EGI8WW2SH@mis.mcw.edu> from "Chris Tenaglia - 257-8765" at May 21, 94 07:30:56 am
  8. X-Mailer: ELM [version 2.4 PL20]
  9. Content-Type: text
  10. Content-Length: 3144      
  11. Status: R
  12. Errors-To: icon-group-errors@cs.arizona.edu
  13.  
  14. > It sounds like Xwindows are present? I wrote an X-based menu that
  15. > needs to do something like that too. Mine called different
  16. > character based apps. Assuming you know what filename you want
  17. > to edit, here's the code segment I'd use.
  18. >      command := "/usr/bin/X11/xterm -e /usr/ucb/vi " || filename || " &"
  19. >      system(command)
  20. >
  21. Thanks, I have implemented the above. What I really want is what is below.
  22.  
  23.         Icon window
  24.          ________________________________________________
  25.         |                                                :
  26.         |   File   Options                               :
  27.         |  -------------------------------------------   :
  28.         |   _________________________________________    |
  29.         |   |Editing a file with a system editor    :    :
  30.         |   |within an icon window.                 :    :
  31.         |   |~                                      :    :
  32.         |   |~                                      :    :
  33.         |   |~                                      :    :
  34.         |   |~                                      :    :
  35.         |   |~                                      :    :
  36.         |   |~                                      :    :
  37.         |   |~                                      :    :
  38.         |   |"filename" [New file]                  :    :
  39.         |   -----------------------------------------    |
  40.         |                                                :
  41.          ------------------------------------------------
  42. > I do this on a DEC ultrix unix system. My display is an Xterminal. This
  43. > runs the editor on the file and when the editor is exited "ZZ", the
  44. > spawned window disappears automatically.
  45. > Chris Tenaglia (System Manager) |  "The past explained,     
  46. > Medical College of Wisconsin    |   the future fortold, 
  47. > 8701 W. Watertown Plank Rd.     |   the present largely appologized for."
  48. > Milwaukee, WI 53226             |   Organon to The Doctor
  49. > (414)257-8765                   |     
  50. > tenaglia@mis.mcw.edu
  51. > > From:    IN%"rick@sparc.sandiegoca.ncr.com"  "Richard Hernandez" 20-MAY-1994 18:02:25.04
  52. > > To:    IN%"icon-group@cs.arizona.edu"
  53. > > Subj:    How do I place a system editor in an icon region?
  54. > > Hi Group!
  55. > > I have just installed icon 8.10 and built my first program.
  56. > > For those of you that are interested, platforms are:
  57. > > MACHINE=NCR 3000 Family,  OS=NCR System V Release 4
  58. > > MACHINE=Solbourne Series5 OS=Solbourne/Sun Microsystems sun4 4.1B
  59. > > I have a question on how to add a system editor (vi,emacs)
  60. > > within an icon window, that is, frame an editor in icon. I
  61. > > would prefer not using icon to create an editor (why re-invent
  62. > > the wheel?). Any help would be appreciated.
  63. -- 
  64. I do not represent AT&T or NCR and all correspondance regarding
  65. AT&T or NCR should be sent to those that do ...
  66.  
  67.  _ __           Richard "Rick" Hernandez     MailStop: 1440
  68. ' )  )      /   c/o AT&T GLOBAL INFORMATION SOLUTIONS
  69.  /--' o _. /_   17095 VIA DEL CAMPO       PHONE:  (619) 485-3467
  70. /  \_(_(__/ <_  SAN DIEGO  CA 92127-1711  FAX:    (619) 485-3367
  71.                 E-MAIL:     Richard.Hernandez@SanDiegoCA.NCR.COM
  72.